package net.thumbtack.onepm.tests;

import java.util.NoSuchElementException;



import java.util.regex.Pattern;
import java.util.concurrent.TimeUnit;
import org.junit.*;
import static org.junit.Assert.*;
import static org.hamcrest.CoreMatchers.*;
import org.openqa.selenium.*;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.support.ui.Select;


/**
 * Created with IntelliJ IDEA.
 * User: efrolova
 * Date: 28.09.12
 * Time: 16:49
 * To change this template use File | Settings | File Templates.
 */
public class LoginFB extends TestBase{


        @Test
        public void LoпFB() throws Exception {

            driver.get(baseUrl);
            driver.findElement(By.linkText("Connect with Facebook")).click();
            driver.findElement(By.id("email")).clear();
            driver.findElement(By.id("email")).sendKeys("dusia.iwanowa1988@yandex.ru");
            driver.findElement(By.id("pass")).clear();
            driver.findElement(By.id("pass")).sendKeys("89087921481");
            driver.findElement(By.name("login")).click();
          //  driver.get(baseUrl + "");

        }    }






